<?php if (isset($this->message)) { ?> <p class="error"><?php echo $this->message ?></p> <?php }?>
<h3><?php echo $this->ViewTranslater('Mein Unternehmen ändern'); ?></h3>
<?php echo $this->form; ?>
<!--<div id="progress-bar"></div>-->
<!--<iframe name="upload-frame" id="upload-frame"></iframe>-->
<!--<script>-->
<!---->
<!--    $(document).ready(function(){-->
<!--        var pbar;-->
<!--        var started = false;-->
<!---->
<!--        pbar = $('#progress-bar');-->
<!--        pbar.show().progressbar();-->
<!---->
<!--        $('#upload-form').submit(function() {-->
<!--            $('#upload-frame').load(function () {-->
<!--                started = true;-->
<!--            });-->
<!--            setTimeout(function () {-->
<!--                updateProgress($('#uid').val());-->
<!--            }, 1000);-->
<!--        });-->
<!---->
<!--        function updateProgress(id) {-->
<!--            var time = new Date().getTime();-->
<!--            $.get('upload', { uid: id, t: time }, function (data) {-->
<!--                var progress = parseInt(data, 10);-->
<!--console.log(data);-->
<!--                if (progress < 100 || !started) {-->
<!--                    started = progress < 100;-->
<!--                    updateProgress(id);-->
<!--                }-->
<!--                started && pbar.progressbar('value', progress);-->
<!--            });-->
<!--        }-->
<!--    });-->
<!--</script>-->